package com.common.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: dean
 * @email: mr_zhaojd@163.com
 * @date: 2018/12/29
 * @description:
 */

@Slf4j
@RestController
@RequestMapping("/api")
public class ApiController {

    @GetMapping("/interceptor")
    public void testInterceptor() {
        log.info("this is controller");
    }
}
